package cn.owng.server.platform.service;

import cn.owng.server.common.generated.entity.Game;
import cn.owng.server.platform.model.dto.GameDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 微信公众号请关注: 开源螺丝钉
 * <br>
 * 码云请关注: <a href="https://gitee.com/xiyoufang">https://gitee.com/xiyoufang</a>
 * <br>
 * 哔哩哔哩请关注: <a href="https://space.bilibili.com/438927834">https://space.bilibili.com/438927834</a>
 *
 * @author xiyoufang
 */
@Mapper
public interface EntityToDtoMapper {

    EntityToDtoMapper INSTANCE = Mappers.getMapper(EntityToDtoMapper.class);

    GameDTO gameToDTO(Game game);
}
